3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D defines a ray as a point of origin and a direction. A ray is defined by the TQ3Ray3D data type. Figure 18 shows a ray.
typedef struct TQ3Ray3D {
TQ3Point3D origin;
TQ3Vector3D direction;
} TQ3Ray3D;
Previous | QD3D Book | Overview | Chapter Contents | Next |